package lyx.tank.element
{
	import flash.display.Sprite;
	
	import lyx.game.element.GameElement;
	
	public class Wall extends GameElement
	{
		public function Wall(width:Number=40, height:Number=40)
		{
			super(width, height);
			
			initViewData();
		}
		
		private function initViewData():void
		{
			var sprite:Sprite = new Sprite();
			sprite.graphics.beginFill(0x903422);
			sprite.graphics.drawRect(0,0,40,40);
			sprite.graphics.endFill();
			
			view_data.draw(sprite);
		}
	}
}